package cn.javaxxw.springboot.controller;

import cn.javaxxw.springboot.annotation.RequestLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述: 
 * @author  TuYong
 * @date  2022/9/8 9:08
 */
@RestController
@RequestMapping("api")
public class ApiController {

    @GetMapping("test")
    @RequestLog(desc = "测试接口")
    public Object test(){
        return "test api！";
    }
}
